<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/core" prefix="c"%>
<%@ taglib uri="/tags/struts-html" prefix="html" %>

<div align="center" style="padding:10px;">
	<table style="width:100%;display: block;"  cellSpacing="1" cellPadding="0" border="0" bgcolor="#CCCCCC">
	    <tr> 
            <td class="titcolumna" align="center"> <bean:message key="reports.shipping"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.wagon"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.movements"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.tanks"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.location"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.amount"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.cornType"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.wetness"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.originAmount"/> </td>
            <td class="titcolumna" align="center"> <bean:message key="reports.origin"/> </td>
         </tr>
		<c:forEach var="siloMovementsView" items="${SiloForm.siloMovementsViews}" varStatus="index">
			<tr>
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="center"><c:out value="${siloMovementsView.shipping}"/></td>
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="left"><c:out value="${siloMovementsView.wagon}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="center"><c:out value="${siloMovementsView.movements}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="80" align="center"><c:out value="${siloMovementsView.tanks}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="80" align="center"><c:out value="${siloMovementsView.locationView.locationId}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="right"><c:out value="${siloMovementsView.amount}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="left"><c:out value="${siloMovementsView.cornType}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="80" align="right"><c:out value="${siloMovementsView.wetness}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="80" align="right"><c:out value="${siloMovementsView.originAmount}"/></td >
				<td style="background-color: <c:choose><c:when test="${index.count%2==0}">#FFFFFF</c:when><c:otherwise>#E6EFF2</c:otherwise></c:choose>;" width="130" align="center"><c:out value="${siloMovementsView.origin}"/></td>
			</tr>
		</c:forEach>
		
	</table>
</div>